package main

import (
	"fmt"
	"net/url"
)

func main() {
	urlStr := "http://www.baidu.com"
	fmt.Println(url.QueryEscape(urlStr))

}
